/*
* 应用管理
* */

import http from "../http";


// 文档新增
const document_add = (params) => http({ method: 'post', url: '/behavior/document/add', data: params });
// 文档编辑
const document_edit = (params) => http({ method: 'post', url: '/behavior/document/edit', data: params });
// 文档查询
const document_list = (params) => http({ method: 'post', url: '/behavior/document/list', data: params });
// 文档操作
const document_submit = (params) => http({ method: 'post', url: '/behavior/document/submit', data: params });
// 文档归属查询
const document_query = (params) => http({ method: 'post', url: '/behavior/document/query', data: params });
// 文档归属查询
const document_particulars = (params) => http({ method: 'post', url: '/behavior/document/particulars', data: params });



// 应用查询
const app_list = (params) => http({ method: 'post', url: '/behavior/app/list', data: params });
// 应用查询事件信息列表
const app_event_list = (params) => http({ method: 'post', url: '/behavior/app/eventcollectionlist', data: params });
// 应用详情
const app_querydetail = (params) => http({ method: 'post', url: '/behavior/app/querydetail', data: params });
// 应用新增
const app_add = (params) => http({ method: 'post', url: '/behavior/app/add', data: params });
// 应用编辑
const app_edit = (params) => http({ method: 'post', url: '/behavior/app/edit', data: params });
// 应用删除
const app_delete = (params) => http({ method: 'post', url: '/behavior/app/delete', data: params });
// 运营部门查询
const app_orgList = (params) => http({ method: 'post', url: '/behavior/org/list', data: params });

// 事件类型新增
const event_add = (params) => http({ method: 'post', url: '/behavior/meta-event/add', data: params });
// 事件类型编辑
const event_update = (params) => http({ method: 'post', url: '/behavior/meta-event/update', data: params });
// 事件类型列表查询
const event_list = (params) => http({ method: 'post', url: '/behavior/meta-event/list', data: params });
// 事件类型详情
const event_query = (params) => http({ method: 'post', url: '/behavior/meta-event/query', data: params });
// 事件类型禁用
const event_disable = (params) => http({ method: 'post', url: '/behavior/meta-event/disable', data: params });
// 事件类型，事件属性 通用接口
const event_prefabricated = (params) => http({ method: 'post', url: '/behavior/meta-event/prefabricated', data: params });


// 事件属性新增
const property_add = (params) => http({ method: 'post', url: '/behavior/meta-property/add', data: params });
// 事件属性修改
const property_update = (params) => http({ method: 'post', url: '/behavior/meta-property/update', data: params });
// 事件属性列表
const property_list = (params) => http({ method: 'post', url: '/behavior/meta-property/list', data: params });
// 事件属性详情
const property_query = (params) => http({ method: 'post', url: '/behavior/meta-property/query', data: params });
// 事件属性禁用
const property_disable = (params) => http({ method: 'post', url: '/behavior/meta-property/disable', data: params });
// 事件属性类型
const property_property = (params) => http({ method: 'post', url: '/behavior/meta-property/property', data: params });

// 字典管理模块
// 字典添加
const dic_add = (params) => http({ method: 'post', url: '/behavior/dic/add', data: params });
// 字典修改
const dic_update = (params) => http({ method: 'post', url: '/behavior/dic/update', data: params });
// 字典删除
const dic_delete = (params) => http({ method: 'post', url: '/behavior/dic/delete', data: params });
// 字典详情查询
const dic_query = (params) => http({ method: 'post', url: '/behavior/dic/query', data: params });
// 字典列表查询
const dic_list = (params) => http({ method: 'post', url: '/behavior/dic/list', data: params });

// 字典版本列表查询
const dic_version_list = (params) => http({ method: 'post', url: '/behavior/version/list', data: params });
// 字典版本单条查询
const dic_version_query = (params) => http({ method: 'post', url: '/behavior/version/query', data: params });
// 字典版本删除
const dic_version_delete = (params) => http({ method: 'post', url: '/behavior/version/delete', data: params });
// 字典版本更新
const dic_version_update = (params) => http({ method: 'post', url: '/behavior/version/update', data: params });
// 字典版本新增
const dic_version_add = (params) => http({ method: 'post', url: '/behavior/version/add', data: params });




// 栏目管理模块
// 栏目管理新增
const biz_add = (params) => http({ method: 'post', url: '/behavior/biz/add', data: params });
// 栏目管理列表查询
const biz_list = (params) => http({ method: 'post', url: '/behavior/biz/list', data: params });
// 栏目管理详情查询
const biz_query = (params) => http({ method: 'post', url: '/behavior/biz/query', data: params });
// 栏目管理修改
const biz_update = (params) => http({ method: 'post', url: '/behavior/biz/update', data: params });
// 栏目管理删除
const biz_delete = (params) => http({ method: 'post', url: '/behavior/biz/delete', data: params });
// 栏目id生成
const biz_generate_bizid = (params) => http({ method: 'post', url: '/behavior/biz/generate/bizid', data: params });

// 元数据查询列表
const meta_data_query = (params) => http({ method: 'post', url: '/behavior/metadata/query', data: params });


const applicationApi = {
    dic_version_add,
    dic_version_update,
    dic_version_delete,
    dic_version_list,
    dic_version_query,
    biz_generate_bizid,
    biz_delete,
    biz_update,
    biz_query,
    biz_list,
    biz_add,
    dic_query,
    dic_list,
    dic_delete,
    dic_add,
    dic_update,
    property_property,
    property_disable,
    property_query,
    property_list,
    property_update,
    property_add,
    document_add,
    document_edit,
    document_list,
    document_submit,
    document_query,
    document_particulars,
    app_list,
    app_event_list,
    app_querydetail,
    app_add,
    app_edit,
    app_delete,
    app_orgList,
    event_add,
    event_update,
    event_list,
    event_query,
    event_disable,
    event_prefabricated,
    meta_data_query
}
export default applicationApi;
